package com.gyh.impl;

import com.gyh.entity.User;
import com.gyh.entity.UserExample;
import com.gyh.mapper.UserMapper;
import com.gyh.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author gyhstart
 * @create 2020/6/8 - 18:05
 **/

@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> selectList() {
        //UserExample userExample = new UserExample();
        return userMapper.selectByExample(null);
    }
}
